<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    .t1,.t2,.t3{
      width: 100px;
      height: 100px;
      background: pink;
    }
    .t2{
      background: green;
      margin: 20px 50px;
      padding: 20px  60px;
    }

    .t3{
      background: blue;
    }
  </style>
</head>
<body>

<div class="t1">java</div>
<div class="t2">php</div>
<div class="t3">c++</div>
</body>
</html>